package cn.edu.ecut.entity;

import java.util.List;

/**
 * 1.Toplic 表示题目，对应数据库中的t_toplic
 */
public class Topic {

    private Integer id ;//对象标识符
    private String title ;//题目标题
    private Integer score ;//参考分数
    private Integer level; //题目难易程度
    private String code ;//题目需要使用的程序代码
    private Module module ;//当前题目所属模块
    private List<Option> options ;//当前题目的选项

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Module getModule() {
        return module;
    }

    public void setModule(Module module) {
        this.module = module;
    }

    public List<Option> getOptions() {
        return options;
    }

    public void setOptions(List<Option> options) {
        this.options = options;
    }
}
